---
title: Annoy
---

> [Annoy](https://github.com/spotify/annoy) (`Approximate Nearest Neighbors Oh Yeah`)
> is a C++ library with Python bindings to search for points in space that are
> close to a given query point. It also creates large read-only file-based data
> structures that are mapped into memory so that many processes may share the same data.

## Installation and Setup

<CodeGroup>
```bash pip
pip install annoy
```

```bash uv
uv add annoy
```
</CodeGroup>


## Vectorstore

See a [usage example](/oss/integrations/vectorstores/annoy).

```python
from langchain_community.vectorstores import Annoy
```
